package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper //加了mapper表示就是mybatis的接口了
public interface UserMapper {

    public UserInfo getUserById(@Param("id") Integer id);
}
